package com.patterns.command.commonCommand.command;

import com.patterns.command.commonCommand.reveiver.Receiver;

/**
 * Created by Xiao Yiyun on 2017/5/16.
 * 具体的Command类
 */
public class ConcreteCommand extends Command {

    //对那个Receiver类进行命令处理
    private Receiver receiver;
    //构造函数传递接受者
    public ConcreteCommand(Receiver receiver) {
        this.receiver = receiver;
    }
    //必须实现一个命令
    public void execute() {

    }
}
